package ioc

import (
	"github.com/prometheus/client_golang/prometheus"
	"github.com/redis/go-redis/v9"
	"jk-time/webook/internal/cache"
	"jk-time/webook/pkg/redisx"
)

func InitUserHook(client *redis.Client) cache.UserCache {
	client.AddHook(redisx.NewPrometheusHook(
		prometheus.SummaryOpts{}))
	panic("")
}
